from django.conf.urls.defaults import *

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('safc.views',
    (r'^safc/$', 'index'),
    (r'^safc/begin/$', 'begin'),
    (r'^safc/written/$', 'written'),
    (r'^safc/bibliography/$', 'bibliography'),
    (r'^safc/tutorial/$', 'tutorial'),
    (r'^safc/createaccount/$', 'createaccount'),
    (r'^safc/signin/$', 'signin'),
    (r'^safc/conformation/$', 'conformation'),
    (r'^safc/denied/$', 'denied'),
    (r'^safc/incorrect/$', 'incorrect'),
    (r'^safc/logout/$', 'logoutuser'),
    (r'^safc/user/$', 'user'),
    (r'^safc/logerror/$', 'logerror'),
    (r'^safc/analytics/$', 'analytics'),
    (r'^safc/deepanalytics/(?P<interaction_id>\d+)/$', 'deepanalytics'),
    (r'^admin/', include(admin.site.urls)),
)


""" ----- UNCOMMENT FOR DEMO SITE -----
from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('demo.views',
    (r'^demo/$', 'index'), #be sure to change the folder with file change to safc
    (r'^demo/(?P<id>\d+)/$', 'detail'),
    (r'^demo/rep/$', 'rep'), #representation of the future model
    (r'^demo/written/$', 'written'), #written portion of the project
    (r'^demo/biblio/$', 'biblio'), #bibliography of the project
    # Examples:
    # url(r'^$', 'surface_nafc.views.home', name='home'),
    # url(r'^surface_nafc/', include('surface_nafc.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
)

#urlpatterns += patterns('',
 #       (r'^admin/', include(admin.site.urls)),
#)

"""